﻿<%@ Page Language="C#" MasterPageFile="~/template.master" AutoEventWireup="true" CodeFile="User.aspx.cs" Inherits="User" Title="Untitled Page" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Panel runat="server" ID="pnEditor">
        <div class="post-editor">
            <h2>Thông tin thành viên</h2>
            <div class="post-editor-content">
                <table>
                    <tr>
                        <td>Tên đầy đủ</td>
                        <td><asp:TextBox ID="txtFullName" runat="server" CssClass="text-input"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td>Tên tài khoản *</td>
                        <td><asp:TextBox ID="txtName" runat="server" CssClass="text-input"></asp:TextBox></td>
                    </tr>
                    <%--<tr>
                        <td>Mật khẩu *</td>
                        <td><asp:TextBox ID="txtPassword" runat="server" CssClass="text-input"></asp:TextBox></td>
                    </tr>--%>
                    <asp:HiddenField ID="txtPassword" runat="server" />
                    <tr>
                        <td>Loại tài khoản</td>
                        <td><asp:DropDownList ID="drdCategory" runat="server">
                            <asp:ListItem Text="Người quản trị" Value="1"></asp:ListItem>
                            <asp:ListItem Text="Người dùng thường" Value="0"></asp:ListItem>
                        </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td>Email *</td>
                        <td><asp:TextBox ID="txtEmail" runat="server" CssClass="text-input"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td>Date of Birth</td>
                        <td><asp:TextBox ID="txtDateOfBirth" runat="server" CssClass="text-input"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td>Ảnh đại diện</td>
                        <td>
                            <asp:TextBox ID="txtPhoto" runat="server"></asp:TextBox> 
                            <asp:FileUpload ID="fuPhoto" runat="server" />
                            <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="BtnUploadClick" />
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><asp:Label ID="lblMessage" runat="server" ForeColor="#FF3300"></asp:Label></td>
                    </tr>
                    <tr>
                        <td>Các thông tin khác</td>
                        <td>Vui lòng viết Tiếng Việt có dấu hoặc Tiếng Anh</td>
                    </tr>
                    <tr>
                        <td colspan="2"><CKEditor:CKEditorControl ID="txtMoreInfo" runat="server" Width="670" Height="200"></CKEditor:CKEditorControl></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><asp:Button ID="btnSubmit" runat="server" Text="Thêm thành viên" Width="120" Height="25" OnClick="ButtonSubmitClick" /></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>* là những trường bắt buộc phải nhập</td>
                    </tr>
                </table>
            </div>
        </div>
    </asp:Panel>
    <div class="clear"></div>
    
</asp:Content>